package developerworks.jetty6;
import javax.jms.MessageListener;

import org.json.*;

public class Message extends CrudMessage{
	public String message;
	public String name;
	public String website;
	
	public Message(String m, String n, String w) {
		super();
		message= m;
		name= n;
		website= w;
	}
	public JSONObject toJson() throws JSONException {
		JSONObject jsonObj = new JSONObject();
		jsonObj.put("message", message);
		jsonObj.put("name", name);
		jsonObj.put("website", website);
		return jsonObj;
	}
}
